package com.yzk.auction.entity;

/**
 * @author： lys
 * @date： 2020/8/19 23:00
 * @类名： FirstCategory
 * @Title： 一级分类
 */

public class FirstCategory {
    private int first_cid;      //一级分类id
    private String first_cname; //一级分类名

    public FirstCategory() {
    }

    public FirstCategory(String first_cname) {
        this.first_cname = first_cname;
    }

    public FirstCategory(int first_cid, String first_cname) {
        this.first_cid = first_cid;
        this.first_cname = first_cname;
    }

    public int getFirst_cid() {
        return first_cid;
    }

    public void setFirst_cid(int first_cid) {
        this.first_cid = first_cid;
    }

    public String getFirst_cname() {
        return first_cname;
    }

    public void setFirst_cname(String first_cname) {
        this.first_cname = first_cname;
    }

    @Override
    public String toString() {
        return "FirstCategory{" +
                "first_cid=" + first_cid +
                ", first_cname='" + first_cname + '\'' +
                '}';
    }
}
